<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
<html>
<head>
	<title>正式客户管理</title>
	<%@include file="/WEB-INF/views/commons/commons.jsp"%>
	<script src="/static/js/system/latentclient.js"></script>
</head>
<body>

<table id="latent_datagrid">
	<div id="latent_toolbar">
		<a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="edit">修改信息</a>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a><br/>

		<span style="margin-left: 15px">创建时间:</span>
		<input id="startTime" name="startTime" class="easyui-datebox" style="width: 110px"/>-
		<input id="endTime" name="endTime" class="easyui-datebox" style="width: 110px"/>
		负责人查询:
		<input  name="inChargeUser_realname" class="easyui-textbox" data-options="prompt:'负责人'"/>
		关键字查询:
		<input id="keyword" name="keyword" class="easyui-textbox" data-options="prompt:'客户姓名电话邮箱'"/>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="searchForm">搜索</a>

	</div>
</table>

<div id="latent_dialog">
	<form id="latent_form" method="post">
		<input id="stateId" type="hidden" name="id" />
		<table align="center">
			<tbody>
			<tr>
				<td>姓名：</td>
				<td>
					<input name="name" class="easyui-textbox" data-options="prompt:'请输入客户姓名',required:true"/>
				</td>
			</tr>

			<tr>
				<td>身份证号:</td>
				<td>
					<input name="idCard" class="easyui-textbox"  />
				</td>
			</tr>
			<tr>
				<td>性别：</td>
				<td>
					<input name="gender" class="easyui-combobox"
						   data-options="valueField:'value', textField:'text',
                               data:[{text:'女', value:'1'},{text:'男', value:'0'}], panelHeight:'auto'" />

				</td>
			</tr>
			<tr>
				<td>年龄：</td>
				<td>
					<input name="age" class="easyui-textbox"/>
				</td>
			</tr>
			<tr>
				<td>电话：</td>
				<td>
					<input name="tel" class="easyui-textbox"/>
				</td>
			</tr>
			<tr>
				<td>邮箱:</td>
				<td>
					<input name="email" class="easyui-textbox" validType="email" prompt="请输入邮箱"/>
				</td>
			</tr>
			<tr>
				<td>QQ:</td>
				<td>
					<input name="qq" class="easyui-textbox"  />
				</td>
			</tr>
			<tr>
				<td>地址:</td>
				<td>
					<input name="address" class="easyui-textbox"  />
				</td>
			</tr>

			<tr>
				<td>职业：</td>
				<td>
					<input name="job.id" class="easyui-combobox"
						   data-options="prompt:'请选择职业',valueField:'id', textField:'name',
                               url:'/dictionary/queryDictionaryDetail?id=4', panelHeight:'auto'"/>
				</td>
			</tr>
			<tr>
				<td>客户来源:</td>
				<td>
					<input name="resource.id" class="easyui-combobox"
						   data-options="prompt:'请选择来源',valueField:'id',textField:'name',
                               url:'/dictionary/queryDictionaryDetail?id=5',panelHeight:'auto'"/>
				</td>
			</tr>
			<tr>
				<td>收入水平:</td>
				<td>
					<input name="income.id" class="easyui-combobox"
						   data-options="prompt:'请选择收入水平',valueField:'id',textField:'name',
                                url:'/dictionary/queryDictionaryDetail?id=6',panelHeight:'auto'"
					/>
				</td>
			</tr>
			<tr>
				<td>创建时间:</td>
				<td>
					<input name="inputTime" data-options="prompt:'请输入创建时间'"class="easyui-datebox"/>
				</td>
			</tr>

			</tbody>
		</table>
	</form>
	<div id="form_btn" align="right">
		<a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="save">保存</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
	</div>
</div>
</body>
</html>